package com.jinmdz.fmis.api.api.model.settlement;

import com.jinmdz.fmis.api.api.model.common.IdVersionData;
import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 退费请求数据
 *
 * @author LiCongLu
 * @date 2020-05-12 15:26
 */
@ApiModel(value = "退费请求数据", description = "退费请求数据")
public class ChargeRefundData extends BaseBean {
    /**
     * 业务编码
     */
    @AnValidate(name = "业务编码", required = true)
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 被退费主键
     */
    @AnValidate(name = "退费主键", required = true)
    @ApiModelProperty(value = "退费主键", name = "refundItem", position = 2)
    private IdVersionData refundItem;

    /**
     * 新费用信息
     */
    @AnValidate(name = "新费用信息", required = true)
    @ApiModelProperty(value = "新费用信息", name = "chargeItem", position = 3)
    private ChargeItemData chargeItem;

    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeRefundData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public IdVersionData getRefundItem() {
        return refundItem;
    }

    public ChargeRefundData setRefundItem(IdVersionData refundItem) {
        this.refundItem = refundItem;
        return this;
    }

    public ChargeItemData getChargeItem() {
        return chargeItem;
    }

    public ChargeRefundData setChargeItem(ChargeItemData chargeItem) {
        this.chargeItem = chargeItem;
        return this;
    }
}
